package com.chunhe.sojourn.common.enums;

public enum RewardStatus {
    未发放(0),
    已发放(1),
    发放失败(2),
    ;
    public int status;

    RewardStatus(int status) {
        this.status = status;
    }

    public static String getStatusName(int status) {
        for (RewardStatus item : RewardStatus.values()) {
            if (item.status == status) {
                return item.name();
            }
        }
        return null;// "其他";

    }
}
